Powers and Roots of Exponential and Trigonometric Functions